﻿namespace Proxy
{
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "Proxy.ISETipoEstructura")]
    public interface ISETipoEstructura
    {

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoEstructura/Listar", ReplyAction = "http://tempuri.org/ISETipoEstructura/ListarResponse")]
        TipoEstructura[] Listar();

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoEstructura/Insertar", ReplyAction = "http://tempuri.org/ISETipoEstructura/InsertarResponse")]
        int Insertar(TipoEstructura tipoestructura);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoEstructura/Modificar", ReplyAction = "http://tempuri.org/ISETipoEstructura/ModificarResponse")]
        void Modificar(TipoEstructura tipoestructura);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoEstructura/Eliminar", ReplyAction = "http://tempuri.org/ISETipoEstructura/EliminarResponse")]
        void Eliminar(int codigoTipoEstructura);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoEstructura/Buscar", ReplyAction = "http://tempuri.org/ISETipoEstructura/BuscarResponse")]
        TipoEstructura[] Buscar(string nombre);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoEstructura/Obtener", ReplyAction = "http://tempuri.org/ISETipoEstructura/ObtenerResponse")]
        TipoEstructura Obtener(int codigoTipoEstructura);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoEstructura/ObtenerListItem", ReplyAction = "http://tempuri.org/ISETipoEstructura/ObtenerListItemResponse")]
        ListItemInt[] ObtenerListItem();
    }

    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface ISETipoEstructuraChannel : ISETipoEstructura, System.ServiceModel.IClientChannel
    {
    }

    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SETipoEstructuraClient : System.ServiceModel.ClientBase<ISETipoEstructura>, ISETipoEstructura
    {

        public SETipoEstructuraClient()
        {
        }

        public SETipoEstructuraClient(string endpointConfigurationName) :
            base(endpointConfigurationName)
        {
        }

        public SETipoEstructuraClient(string endpointConfigurationName, string remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public SETipoEstructuraClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public SETipoEstructuraClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
            base(binding, remoteAddress)
        {
        }

        public TipoEstructura[] Listar()
        {
            return base.Channel.Listar();
        }

        public int Insertar(TipoEstructura tipoestructura)
        {
            return base.Channel.Insertar(tipoestructura);
        }

        public void Modificar(TipoEstructura tipoestructura)
        {
            base.Channel.Modificar(tipoestructura);
        }

        public void Eliminar(int codigoTipoEstructura)
        {
            base.Channel.Eliminar(codigoTipoEstructura);
        }

        public TipoEstructura[] Buscar(string nombre)
        {
            return base.Channel.Buscar(nombre);
        }

        public TipoEstructura Obtener(int codigoTipoEstructura)
        {
            return base.Channel.Obtener(codigoTipoEstructura);
        }

        public ListItemInt[] ObtenerListItem()
        {
            return base.Channel.ObtenerListItem();
        }
    }

}
